package com.wsoft.form.query.operation;

import com.alibaba.fastjson.JSONObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author z001
 * @Date 2024/9/8 08:51
 */
@Data
public class OperationInsertQuery {

    @NotNull
    @Schema(description = "设计表id")
    private Long designId;

    @NotNull
    @Schema(description = "是否为主表")
    private Integer isMaster;

    @Schema(description = "主表id")
    private Long masterId;

    @NotNull
    @Schema(description = "数据")
    private JSONObject data;
}
